package t211119;

import java.util.Random;

/**
 * @Author: DengJia
 * @Date: 2021/11/19 21:08
 * @Description:
 */

public class RandomGenerator {
    public static void main(String[] args) {
        Random random = new Random();
        for (int j = 0; j < 100; j++) {
            int i = random.nextInt(3);
            System.out.println("i = " + i);
        }
    }
}
